//
//  GMProtectTool.h
//  gentleman
//
//  Created by 范月成 on 2017/12/22.
//  Copyright © 2017年 fancy. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, GMProtectStatus) {
    GMProtectStatusSuccess,//成功
    GMProtectStatusCannel  //用户点击了退出
};

typedef void(^completBlock)(GMProtectStatus status);

@interface GMProtectTool : NSObject

+ (GMProtectTool *)shareTool;

@property (nonatomic, assign, readonly) NSTimeInterval time;
- (BOOL)isEnableTouchID;
- (void)recordEnterBackgroundTime:(NSTimeInterval)time;
- (void)showTouchID:(completBlock)completion;

@end
